import requests,unittest
#
# url = "http://127.0.0.1:8000/api/get_event_list"
# r = requests.get(url, params={'eid': 1})
# result = r.json()
# result1 = json.dumps(result, sort_keys=True, indent=4, separators=(',', ':'))
# print(result1)
# assert result['status'] == 200
# assert result['message'] == "success"
# assert result['data']['address'] == "深圳市南山区科技园"
# assert result['data']['start_time'] == ''
class GetEventListTest(unittest.TestCase):
    '''查询发布会接口测试'''

    def setUp(self):
        self.url = "http://127.0.0.1:8000/api/get_event_list"

    def test_get_event_null(self):
        '''发布会id为空'''
